package com.yundingai.service;

import com.yundingai.domain.entity.RelUserPlan;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

/**
* @author liyuxiang
* @description 针对表【rel_user_plan】的数据库操作Service
* @createDate 2025-07-16 12:43:19
*/
public interface RelUserPlanService extends IService<RelUserPlan> {
    //新增计划的同时新增用户计划关系
    void insertUserPlanRelation(@Param("planId") Integer planId,@Param("userId") Integer userId);
    //删除计划的同时在用户计划关系表删除
    void deleteUserPlanRelation(@Param("planId") Integer planId);
}
